# -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

SOURCES += [
    'nsEmbeddingModule.cpp',
]

FINAL_LIBRARY = 'xul'
LOCAL_INCLUDES += [
    '../appstartup',
    '../commandhandler',
    '../find',
    '../printingui/ipc',
    '../webbrowserpersist',
    '../windowwatcher',
]

if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
    DEFINES['PROXY_PRINTING'] = 1
    LOCAL_INCLUDES += [
        '../printingui/win',
    ]

if CONFIG['MOZ_PDF_PRINTING']:
    DEFINES['PROXY_PRINTING'] = 1
    LOCAL_INCLUDES += [
        '../printingui/unixshared',
    ]

include('/ipc/chromium/chromium-config.mozbuild')
